package com.fishery.message.service;

import java.util.Date;
import java.util.Map;

/**
 * @author 白sa能
 * @className
 * @date Created in 10:19 AM 1/14/21
 * @package com.fishery.message.service
 * @Description
 */
public interface MsmService {
    /**
     * 发送验证短信
     *
     * @param param
     * @param phone
     * @param type
     * @return
     */
    public boolean sendVerify(Map<String, Object> param, String phone, int type);

    /**
     * 发送短信通知
     *
      * @param phone
     * @param time
     * @param action
     * @return
     */
    void sendRemind(String phone, String time, String action);
}
